package com.hqyj.product.mapper;

import com.hqyj.product.model.GoodInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface GoodInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GoodInfo record);

    int insertSelective(GoodInfo record);

    GoodInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GoodInfo record);

    int updateByPrimaryKey(GoodInfo record);

    List<GoodInfo> queryAllGoodInfo();

    void updateGoodInfoStateByGoodInfo(Integer idStr);
}